import { SETNAME } from '../actionType'
export default (state = 'UnKnow', action) => {
    switch (action.type) {
        case SETNAME:
            state = action.payload
            return state

        default:
            return state
    }
}